package com.symbio.ishenapi.background.controller;

import com.jfinal.plugin.activerecord.Record;
import com.symbio.ishenapi.background.model.TmMedicalAssistance;
import com.symbio.ishenapi.background.model.TmMedicalAssistancePic;
import com.symbio.ishenapi.common.controller.BaseController;
import io.jboot.web.controller.annotation.RequestMapping;

import java.util.List;

/**
 * 医助图片
 */
@RequestMapping("/tmMedicalAssistancePicController")
public class TmMedicalAssistancePicController extends BaseController {


    /**
     * 根据联系医助id获取图片列表
     */
    public void findMedicalAssistanceIdByPic(){
       /* TmMedicalAssistancePic tmMedicalAssistancePic = (TmMedicalAssistancePic)getReqBodyObject(TmMedicalAssistancePic.class);
        if(tmMedicalAssistancePic.getMedicalAssistanceId() == null || "".equals( tmMedicalAssistancePic.getMedicalAssistanceId())){
            renderJsonError(40003, "联系医助编号");
            return;
        }
        List<Record> list = TmMedicalAssistancePic.dao.findMedicalAssistanceIdByPic(tmMedicalAssistancePic);
        renderJsonRet(list);*/
    }
}
